import request from '@/utils/request'

// 获取待上架入库单箱子信息
export function scanBoxInfo(data) {
  return request({
    url: '/orderInfo/getShelveOrderBoxByBoxNo',
    method: 'POST',
    data,
  })
}

// 获取待上架入库单箱子信息
export function getBoxInfo(data) {
  return request({
    url: '/orderInfo/getShelvedOrderBoxByBoxNo',
    method: 'POST',
    data,
  })
}

// 获取待上架入库单信息
export function scanOrderInfo(data) {
  return request({
    url: '/orderInfo/getShelveOrderInfoByNo',
    method: 'POST',
    data,
  })
}

// 获取待上架入库单信息
export function getOrderInfo(data) {
  return request({
    url: '/orderInfo/getShelvedOrderInfoByNo',
    method: 'POST',
    data,
  })
}

// 上架
export function confirmShelve(data) {
  return request({
    url: '/orderInfo/updateOrderInfoForShelve',
    method: 'POST',
    data,
  })
}

export function confirmSkuShelve(data) {
  return request({
    url: '/orderInfo/updateOrderInfoForPartShelve',
    method: 'POST',
    data,
  })
}
